<fieldset class="layui-elem-field">
    <legend>编辑轮播图</legend>
    <div class="layui-field-box">
        <form action="{:url('Banner/updbanner')}" class="layui-form layui-form-pane ajax-form" method="post"
              style="margin: 20px" enctype="multipart/form-data">
            <div class="layui-form-item">
                <div class="layui-input-inline">
                    <button type="button" class="layui-btn upload" required>
                        <i class="layui-icon"></i>上传图片
                    </button>
                </div>
            </div>
            <div class="layui-form-item uploadDiv" style="display: block;">
                <img src="{$info.banner_path}" class="uploadImg" width="100">
            </div>
            <div class="layui-form-item">

                <input type="hidden" name="banner_id"value="{$info.banner_id}" />
                <button class="layui-btn" lay-submit="">确定</button>
                <a class="layui-btn  layui-btn-primary" href="{:url('Banner/banner')}">返回</a>
            </div>
        </form>
    </div>
</fieldset>
